/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package FrameWork;

import Environment.Main;
import javax.microedition.lcdui.Graphics;

/**
 *
 * @author ThanhTri
 */
public class IPlay {
    public Main m_Main;
    protected IState m_CurState;
    protected IState m_NextState;
    protected Graphics m_Graphics;
    
    
    public IPlay (Graphics _Graphics){
        m_Graphics = _Graphics;
    }
    
    public void setCurState (IState _CurState){
        m_CurState = _CurState;
    }
    public void setNextState (IState _NextState){
        m_NextState = _NextState;
    }
    public void setGraphics (Graphics _Graphics){
        m_Graphics = _Graphics;
    }
    public IState getCurState (){
        return m_CurState;
    }
    public IState getNextState (){
        return m_NextState;
    }    
    public Graphics getGraphics (){
        return m_Graphics;
    }
    
    public void Init (){
        
    }
    public void Update (float _Time){
        
    }
    public void Render (){
    }
    public void Destroy  (){
       
    }

    
    
}
